package com.kehutong.admin.util;

public class OneBaseException extends RuntimeException {
	 
	private static final long serialVersionUID = 2631851397011521046L;
	
	private String errorCode;
 
    public OneBaseException() {
    }
 
    public OneBaseException(String message) {
        this("-1", message);
    }
 
    public OneBaseException(String errorCode, String message) {
        super(message);
        this.errorCode = errorCode;
    }
 
    public String getErrorCode() {
        return errorCode;
    }
 
    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }
}